package com.annotation.demo5;

/**
 * @ClassName AvianAnimal
 * @Description 飞禽动物
 * @Author Kx
 * @Date 2025/3/30 16:05
 * @Version 1.0
 */
public class AvianAnimal extends Animal {
    private String name;

    public AvianAnimal(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /***
     * @author: kx
     * @date: 2025/3/30 15:04
     * @description: 飞禽动物的吃方法
     */
    @Override
    public void eat() {
        super.eat();
    }

    /***
     * @author: kx
     * @date: 2025/3/31 15:16
     * @description: 飞禽动物的睡眠方法
    */
    @Override
    public void sleep() {
        super.sleep();
    }
}
